package sctu.edu.java.year2016.team01.zhuming.day20160530.chapter8_1;

/**
 * Created by Administrator on 2016/6/1.
 */
public class Cat extends Anlimal {
    String name;
    int age;


    public Cat(String name,int age){

        this.name=name;
        this.age=age;
    }


    public void eat(){
        System.out.println("Cat eat fish");

    }
    public void run(){
        System.out.println("Cat runs fast");

    }

}
